home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / DefineButton2_980 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  633 b   |  27 lines

  1. on(release){
  2.    loadVariablesNum("/arcane/tracking/tracking.html?episode=7&stage=6",0);
  3.    set("/Variables:VaVers01","Fontaine");
  4.    if(eval("/Variables:PersoPres") == 2)
  5.    {
  6.       set("/Variables:VaVers02","AbeiProche2");
  7.    }
  8.    if(eval("/Variables:PersoPres") == 1)
  9.    {
  10.       set("/Variables:VaVers02","AbeiProche1");
  11.    }
  12.    set("/Variables:PositionPerso","Fontaine");
  13.    tellTarget(Gregor)
  14.    {
  15.       gotoAndStop("MarcheGauche");
  16.       play();
  17.    }
  18.    if(eval("/Variables:PersoPres") == 2)
  19.    {
  20.       tellTarget(Prescott)
  21.       {
  22.          gotoAndStop("MarcheGauche");
  23.          play();
  24.       }
  25.    }
  26. }
  27.